
package bibliotheque.events;

import bibliotheque.document.DocumentId;
import java.util.EventObject;

/**
 *
 * @author guillaume
 */
public class TransactionResultFreeOccuredEvent extends EventObject {
    
    private final Boolean resultFree;
    private final DocumentId docId;
    
    public TransactionResultFreeOccuredEvent(Object source, Boolean resultFree,DocumentId docId){
        super(source);
        this.resultFree = resultFree;
        this.docId = docId;
    }
    
    public Boolean GetFreeResult() {
        return this.resultFree;
    }
    
    public DocumentId GetDocId() {
       return this.docId;
    }
}
